package member.api;

import member.api.vo.MemberVo;
import member.model.shop.Member;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;

/**
 * Created by xiaoqian on 2016/10/9.
 */
public interface MemberAdminApi {

    /**
     * 查询系统所有用户
     * @param page
     * @return
     */
    public List<MemberVo> listMembers(Pageable page);

    /**
     * 查询某个时间内新建用户
     * @param startDate
     * @param endDate
     * @param page
     * @return
     */
    public List<MemberVo> listMembersByCreateDate(Date startDate,Date endDate ,Pageable page);

    /**
     * 按基构查询用户
     * @param companyId
     * @param page
     * @return
     */
    public List<MemberVo> listMembersByCompany(String companyId,Pageable page);



}
